import Encrypt from 'encryptlong'
 
export default {
  encrypt(data, publicKey) {
    var encryptor = new Encrypt()
    encryptor.setPublicKey(publicKey)
    const result = encryptor.encryptLong(data)
    return result
  }
}